const home: any = {
  name: 'home',
  path: '/home',
  component: 'self',
  meta: {
    title: '欢迎',
    icon: 'carbon:home',
    singleLayout: 'basic',
    hide: true,
    requiresAuth: true
  }
};
const purchaseList: any = {
  name: 'purchase-list',
  path: '/purchase-list',
  component: 'self',
  meta: {
    title: '结算单管理',
    icon: 'bi:card-checklist',
    singleLayout: 'basic',
    requiresAuth: true
  }
};
const userManage: any = {
  name: 'user-manage',
  path: '/user-manage',
  component: 'self',
  meta: {
    title: '账号管理',
    icon: 'ph:users-three',
    singleLayout: 'basic',
    requiresAuth: true
  }
};
export const routeModel: Record<Auth.RoleType, AuthRoute.Route[]> = {
  super: [home, purchaseList, userManage],
  admin: [home, userManage],
  user: [home, purchaseList]
};
